﻿using System;

namespace MvvmFx.Common.ViewModels.Commands
{
    /// <summary>
    /// The ProgressEventArgs inherts from EventArgs and 
    /// reports the _current progress or performing some task.  
    /// </summary>
    public class ProgressEventArgs : EventArgs
    {
        #region [ Private Members]

        private readonly int _current;

        #endregion

        #region [ Constructor ]

        /// <summary>
        /// Initializes a new instance of the <see cref="ProgressEventArgs"/> class.
        /// </summary>
        /// <param name="current">The _current progres.</param>
        public ProgressEventArgs(int current)
        {
            this._current = current;
        }

        #endregion

        #region [ Properties ]

        /// <summary>
        /// Property Current (int)
        /// </summary>
        public int Current
        {
            get
            {
                return _current;
            }
        }

        #endregion
    }
}